package com.coolgor.axnut.dao.airuc;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.coolgor.axnut.entity.airuc.Course;

public interface CourseDao {

	Course queryCourseById(Long courseID);

	List<Course> queryCourseList(@Param("courseCondition") Course courseCondition,
								@Param("rowIndex") int rowIndex,
								@Param("pageSize") int pageSize);
	
	int queryCourseCount(@Param("courseCondition") Course courseCondition);
	
	int insertCourse(Course course);
	
	int updateCourse(Course course);
	
	int deleteCourse(Course course);
	
	int batchDeleteCourse(List<Long> courseIDList);
	
}
